package com.yunchao.library.socket.exception

// region 异常体系
sealed class SocketClientException(message: String?) : Exception(message) {
    class ProtocolError(message: String) : SocketClientException(message)
    class MaxReconnectAttemptsReached : SocketClientException("Maximum reconnect attempts reached")
    class ConnectionFailed : SocketClientException("Not connected to server")
    class Disposed : SocketClientException("Client already disposed")
}